@foreach($articles as $article)
<li onclick="obtainId(this)" class="jour-lit" data-id="{{$article->id}}"><span>{{$article->title}}</span><i>{{$article->published_at}}</i></li>
    @endforeach